import { Message } from "@arco-design/web-vue";
import { defineStore } from "pinia";
import LocalCache from "@/utils/storage";
import router from "@/router/index";
import type { userStoreType } from "./index.d";

export const userStorer = defineStore("userStore", {
  state: (): userStoreType => {
    return {
      userInfo: {
        token: "",
        tokenExpAt: "",
      },
    };
  },
});
